package com._51cto.healthy.service;

import com._51cto.healthy.base.BaseService;
import com._51cto.healthy.content.P;
import com._51cto.healthy.pojo.Food;

//膳食库
public interface FoodService extends BaseService<Food> {
    P<Food> findAll(String query,Integer pageSize,Integer pageNum);

    @Override
    default void deleteByPK(Integer pk) {
        BaseService.super.deleteByPK(pk);
    }

    @Override
    default void insert(Food entity) {
        BaseService.super.insert(entity);
    }

    @Override
    default void update(Food entity) {
        BaseService.super.update(entity);
    }
}
